package uk.me.dewi.appenin.android.dao.rest.xml;

import org.apache.http.HttpRequest;

import uk.me.dewi.appenin.android.dao.rest.AppeninHttpRequestFactory;

public class XmlRequestFactory extends AppeninHttpRequestFactory {
    
    public XmlRequestFactory(String baseUrl) {
        super(baseUrl);
    }

    public static final String MIME_XML = "application/xml";
    
    protected HttpRequest configureRequest(HttpRequest request){
        request.setHeader("Accept", MIME_XML);
        request.setHeader("Content-type", MIME_XML);
        return request;
    }
}
